Skip to content

Conversation

@visr
Copy link
Member

@visr visr commented Jul 4, 2025

See the discussion starting from #2429 (comment).

On main the Mypy failures are avoided by pinning our Pixi QGIS to 3.40. Since it is only a Mypy issue right now, our QGIS plugin continues to support the latest QGIS version (running 3.44 myself currently). Still it would be nice not to have to pin QGIS, and at some point we need to move to newer Docker images anyway.

This is blocked on the new Docker image not having plugin setup scripts, and those in the QGIS repo don't seem to work anymore.

We could also consider going directly to require QGIS 4 if this doesn't get picked up soon. That would probably face the same Docker issue though.

visr added 2 commits July 4, 2025 15:12
@evetion
Copy link
Member

evetion commented Jul 7, 2025

This is enough to run the tests again, but no output seems to be captured. It needs to be debugged further to understand why. We might need to just move to our own testing setup.

test.sh

docker exec -t qgis sh -c "wget -P /usr/bin https://raw.githubusercontent.com/qgis/QGIS/refs/tags/ltr-3_40/.docker/qgis_resources/test_runner/qgis_setup.sh && chmod +x /usr/bin/qgis_setup.sh"
docker exec -t qgis sh -c "wget -P /usr/bin https://raw.githubusercontent.com/qgis/QGIS/refs/tags/ltr-3_40/.docker/qgis_resources/test_runner/qgis_testrunner.sh && chmod +x /usr/bin/qgis_testrunner.sh"
docker exec -t qgis sh -c "wget -P /usr/bin https://raw.githubusercontent.com/qgis/QGIS/refs/tags/ltr-3_40/.docker/qgis_resources/test_runner/qgis_startup.py"
docker exec -t qgis sh -c "wget -P /usr/bin https://raw.githubusercontent.com/qgis/QGIS/refs/tags/ltr-3_40/.docker/qgis_resources/test_runner/qgis_testrunner.py"
# [..]
docker exec -t qgis sh -c "apt install -y python3-pandas"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants